home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 March / macformat-022.iso / Shareware City / Developers / CMaster Demo v2.0.3 / CMaster XTRN Projects / CallKeyFunctions.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-06-12  |  7.7 KB  |  117 lines  |  [TEXT/KAHL]

  1. /*
  2.  *        CallKeyFunctions.h:    defines that let you callback to CMaster and have it
  3.  *                            perform some Key Function for you
  4.  *        Copyright © 1994 Jersey Scientific, All Rights Reserved
  5.  *
  6.  *        History:
  7.  *            06/12/94        original file shipped with CMaster 2.0
  8.  *
  9.  */
  10.  
  11. #define LINEj_JOIN                         1 // line, join
  12. #define LINEj_SPLIT                        2 // line, split
  13. #define SELECT_WORD                        3 // select word
  14. #define SELECT_C_WORD                      4 // select C word
  15. #define SELECT_LINE                        5 // select line
  16. #define CURSOR_FORWARDS                    6 // cursor forwards
  17. #define CURSOR_BACKWARDS                   7 // cursor backwards
  18. #define CURSOR_UP                          8 // cursor up
  19. #define CURSOR_DOWN                        9 // cursor down
  20. #define FORWARDS_ONE_WORD                 10 // forwards one word
  21. #define BACKWARDS_ONE_WORD                11 // backwards one word
  22. #define MOVE_TO_BEGINNING_OF_LINE         12 // move to beginning of line
  23. #define MOVE_TO_END_OF_LINE               13 // move to end of line
  24. #define BACKWARDS_ONE_PAGE                14 // backwards one page
  25. #define FORWARDS_ONE_PAGE                 15 // forwards one page
  26. #define CHARACTER_DELETEj_FORWARDS        16 // character delete, forwards
  27. #define CHARACTER_DELETEj_BACKWARDS       17 // character delete, backwards
  28. #define DELETE_NEXT_WORD                  18 // delete next word
  29. #define DELETE_PREVIOUS_WORD              19 // delete previous word
  30. #define CAPITALIZATIONj_INVERT            20 // capitalization, invert
  31. #define REFRESH_SCREEN                    21 // refresh screen
  32. #define COPY_FILE_NAME_TO_SCRAP           22 // copy file name to scrap
  33. #define TAB                               23 // tab
  34. #define SMARTINDENT                       24 // SmartIndent
  35. #define CARRIAGE_RETURN                   25 // carriage return
  36. #define SMARTRETURN                       26 // SmartReturn
  37. #define SWAP_SCRAP_SELECTION              27 // swap scrap/selection
  38. #define EXTEND_SELECTION_RIGHT_ONE_CHAR   28 // extend selection right one char
  39. #define EXTEND_SELECTION_LEFT_ONE_CHAR    29 // extend selection left one char
  40. #define DELETE_LINE_LEFT                  30 // delete line left
  41. #define DELETE_LINE_RIGHT                 31 // delete line right
  42. #define TRANSPOSE_TWO_CHARS               32 // transpose two chars
  43. #define SWAP__C_n__H_WINDOWS              33 // swap .c & .h windows
  44. #define KISS_MATCHING_CHAR                34 // kiss matching char
  45. #define JUMP_TO_MATCHING_CHAR             35 // jump to matching char
  46. #define SNAPBACKj_SET_THIS_POSITION       36 // SnapBack, set this position
  47. #define MOVE_TO_INACTIVE_SPLIT_WINDOW     37 // move to inactive split window
  48. #define MOVE_FORWARDS_TO_NEXT_WINDOW      38 // move forwards to next window
  49. #define MOVE_BACKWARDS_TO_NEXT_WINDOW     39 // move backwards to next window
  50. #define GOBACKj_SET_THIS_POSITION         40 // Goback, set this position
  51. #define SCROLL_BACKWARDS_ONE_WINDOW       41 // scroll backwards one window
  52. #define SCROLL_FORWARDS_ONE_WINDOW        42 // scroll forwards one window
  53. #define THINK_REF___TEMPLATE_LOOKUP       43 // THINK Ref ƒ template lookup
  54. #define THINK_REF_LOOKUP_dSCREENb         44 // THINK Ref lookup (screen)
  55. #define THINK_REF_LOOKUP_dUPTO__NOTES_b   45 // THINK Ref lookup (upto “Notes”)
  56. #define THINK_REF_LOOKUP_dALLb            46 // THINK Ref lookup (all)
  57. #define THINK_REFj_LOOKUP_THEN_GOTO       47 // THINK Ref, lookup then goto
  58. #define BLOCK_INDENT_SELECTION_WITH___    48 // block indent selection with {}
  59. #define DELETE_CURRENT_LINE               49 // delete current line
  60. #define COMMAND_X_dCUTb_ALIAS             50 // Command-X (cut) alias
  61. #define COMMAND_C_dCOPYb_ALIAS            51 // Command-C (copy) alias
  62. #define COMMAND_V_dPASTEb_ALIAS           52 // Command-V (paste) alias
  63. #define COMMAND_Z_dUNDOb_ALIAS            53 // Command-Z (undo) alias
  64. #define BUILD____MENU_ALIAS               54 // Build... menu alias
  65. #define EXTEND_SELECTION_TO_LINE_BEGIN    55 // extend selection to line begin
  66. #define EXTEND_SELECTION_TO_LINE_END      56 // extend selection to line end
  67. #define EXTEND_SELECTION_ONE_WORD_LEFT    57 // extend selection one word left
  68. #define EXTEND_SELECTION_ONE_WORD_RIGHT   58 // extend selection one word right
  69. #define EXTEND_SEL_TO_FULL_LINES          59 // extend sel to full lines
  70. #define SMARTCOPY                         60 // SmartCopy
  71. #define NEW_LINE_INSERT_WITH_INDENT       61 // new line insert with indent
  72. #define NEW_LINE_INSERT_WITHOUT_INDENT    62 // new line insert without indent
  73. #define NEW_LINE_APPEND_WITH_INDENT       63 // new line append with indent
  74. #define NEW_LINE_APPEND_WITHOUT_INDENT    64 // new line append without indent
  75. #define ADD_A_NEW_AUTOMATIC_VARIABLE      65 // add a new automatic variable
  76. #define JUMP_TO_END_OF_AUTOMATIC_VARS     66 // jump to end of automatic vars
  77. #define LOAD_THE_THINK_FIND_STRING        67 // load the THINK find string
  78. #define LOAD_THE_THINK_REPLACE_STRING     68 // load the THINK replace string
  79. #define SWAP_COMPARISON_ARGUEMENTS        69 // swap comparison arguements
  80. #define PARENTHESIZE_SELECTION            70 // parenthesize selection
  81. #define COPY_FILE_PATH:NAME_TO_SCRAP      71 // copy file path:name to scrap
  82. #define SIZE_WINDOW_TO_SPECIFIED_WIDTH    72 // size window to specified width
  83. #define SIZE_WINDOW_TO_SPECIFIED_HEIGHT   73 // size window to specified height
  84. #define SIZE_WINDOW_TO_SPECIFIED_H_n_W    74 // size window to specified h & w
  85. #define CAPITALIZATIONj_FORCE_UPPER       75 // capitalization, force upper
  86. #define CAPITALIZATIONj_FORCE_LOWER       76 // capitalization, force lower
  87. #define SORT_LINESj_ALPHABETICj_CASE      77 // sort lines, alphabetic, case
  88. #define SORT_LINESj_ALPHABETICj_NOCASE    78 // sort lines, alphabetic, nocase
  89. #define SORT_LINESj_BY_LENGTH             79 // sort lines, by length
  90. #define SORT_LINESj_NUMERIC               80 // sort lines, numeric
  91. #define SORT_LINESj_REVERSE_ORDER         81 // sort lines, reverse order
  92. #define OPEN__ALIASED_PRECOMP_SRC_FILE_   82 // open “Aliased PreComp Src File”
  93. #define TAB_TO__TABS_TO_COMMENT_jADD_C    83 // tab to “Tabs To Comment”,add /*
  94. #define TAB_TO__TABS_TO_COMMENT_jADD_CP   84 // tab to “Tabs To Comment”,add //
  95. #define MATCH_PREV_STR_n_PASTEj_f_BK      85 // match prev str & paste, ƒ <-
  96. #define MATCH_PREV_STR_n_PASTEj_f_FW      86 // match prev str & paste, ƒ ->
  97. #define MATCH_PREV_STR_n_PASTEj_FILE_BK   87 // match prev str & paste, File <-
  98. #define MATCH_PREV_STR_n_PASTEj_FILE_FW   88 // match prev str & paste, File ->
  99. #define SMARTPASTE                        89 // SmartPaste
  100. #define SOUNDj_DONEBEEPdb                 90 // sound, DoneBeep()
  101. #define SOUNDj_SOFTBEEPdb                 91 // sound, SoftBeep()
  102. #define SOUNDj_HARDBEEPdb                 92 // sound, HardBeep()
  103. #define XTRNSj_FORCE_A_TOTAL_REBUILD      93 // XTRNs, force a total rebuild
  104. #define XTRNSj_FORCE_A_DATE_SEARCH        94 // XTRNs, force a date search
  105. #define XTRNSj_DELETE_ALL_RESOURCES       95 // XTRNs, delete all resources
  106. #define SET_CMASTER_FIND_STRING           96 // set CMaster find string
  107. #define GLOSSARYj_FIND_AND_HILITE_NEXT    97 // glossary, find and hilite next
  108. #define MACROj_STOP_RECORDING             98 // Macro, stop recording
  109. #define SCRIPTj_SEND_SEL_AND_PASTE_RESP   99 // script, send sel and paste resp
  110. #define TOOLSERVERj_SEND_SEL_PASTE_RESP  100 // ToolServer, send sel/paste resp
  111. #define TEXT_FILEj_READ_THEN_PASTE       101 // text file, read then paste
  112. #define FIND_STRINGj_CMASTER__THINK      102 // find string, CMaster->THINK
  113. #define FILEj_LOCK                       103 // file, lock
  114. #define FILEj_UNLOCK                     104 // file, unlock
  115. #define APPEND_SELECTION_TO_THINK_SCRAP  105 // append selection to THINK scrap
  116. #define MOVE_WINDOW_TO_WIND_TEMPLATE     106 // move window to WIND template
  117.